package com.longjianghuasheng.logistics.business.wallet.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.longjianghuasheng.logistics.R
import com.longjianghuasheng.logistics.databinding.ItemWalletMonthBinding
import com.longjianghuasheng.logistics.entity.WalletListsX

class WalletMonthAdapter :
    BaseQuickAdapter<WalletListsX, BaseDataBindingHolder<ItemWalletMonthBinding>>(R.layout.item_wallet_month) {

    override fun convert(holder: BaseDataBindingHolder<ItemWalletMonthBinding>, item: WalletListsX) {
        holder.dataBinding?.run {

            tvName.text = item.names
            tvNum.text = item.price
            tvTime.text = item.create_time


        }
    }
}